<%-- 
    Document   : post
    Created on : Nov 16, 2014, 1:06:10 AM
    Author     : Hai
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<% response.setContentType("text/html; charset=UTF-8");%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>JSP Page</title>
        <script src="/ckeditor/ckeditor.js"></script>
    </head>
    <body>
        
        <h1>Post Page!</h1>
        <form action="/post" method="post">
            Tiêu đề: <input type="text" name="title"/><br/>
            Chuyên mục: 
            <select name="chuyenMuc">
                <option value="chuyendi">Chuyến Đi</option>
                <option value="diemden">Điểm Đến</option>
                <option value="nhatky">Nhật Ký</option>
                <option value="thuhoach">Thu hoạch</option>
                <option value="traingiem">Trải Nghiệm</option>
            </select><br/>

            Nội Dung: <br/>
            <textarea class="ckeditor" name="editor1"></textarea>
            <br/>
            <button type="submit" name="sub" value="post">Post</button>
        </form>

    </div>
</body>
</html>
